function reverseWords(s: string): string {
    const strArr:string[] = s.split(' ')
    const afterArr:string[] = strArr.map(item => {
        return item.split('').reverse().join('')
    })
    return afterArr.join(' ')
};
const s:string ="God Ding"
console.log(reverseWords(s))